home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / demo / pg-demo.zip / README.TXT < prev    next >
Text File  |  1994-06-01  |  11KB  |  263 lines

  1.                       Power Graph v1.0 for Windows 
  2.                 Queries and Charting for ODBC Databases
  3. =======================================================================
  4.               DEMO Release README.TXT file
  5.  
  6. Installing the Power Graph DEMO
  7. -------------------------------
  8.  
  9. To install the ODBC demo version of Power Graph for Windows, create a 
  10. PGRAPH directory on your hard drive and change to it.
  11.  
  12. From the DOS prompt, type:
  13.  
  14.     MD  \PGRAPH
  15.     CD  \PGRAPH
  16.  
  17. Then unzip the contents of PG-DEMO.ZIP into the PGRAPH directory
  18. with the following command:
  19.  
  20.     PKUNZIP  PG-DEMO
  21.  
  22. ... where PG-DEMO is the full path and file name of the ZIP file 
  23. that you have downloaded.  
  24.  
  25. For example: 
  26.  
  27.     PKUNZIP  C:\QMODEM\PG-DEMO
  28.  
  29. The demo version of Power Graph is now ready for you to run. Within 
  30. Windows, select Run from the File menu, and specify \PGRAPH\PGRAPH.EXE.
  31. You can run the demo program from DOS by typing:
  32.  
  33.     WIN  PGRAPH.EXE
  34.  
  35. The remainder of this file contains a tutorial on building a query and 
  36. creating a graph within Power Graph. Print this file in order to follow
  37. the tutorial.  Order information can be found at the end of this file.
  38.  
  39. ==========================================================================
  40.  
  41. Building Your First Query
  42. -------------------------
  43.  
  44. Once Power Graph is loaded, select Create New Query from the File menu.  
  45. This command takes you through the query creation process, so that the 
  46. desired database data can be selected.
  47.  
  48. Power Graph first asks for the ODBC data source to be connected to.  
  49. With this DEMO version of Power Graph, the sample Xbase databases are 
  50. the only databases that you can use.  
  51.  
  52. Next, you must select the table in the connected database that you wish 
  53. to query.  Select the SAMPLE1 table. You must then click on the type of 
  54. query that you wish to create, a normal query or a statistical query.  
  55. Click Generate Query, which issues a normal query upon the data, in order
  56. to view all the values contained in the database.
  57.  
  58. A list of all the available columns will display.  Click the Select
  59. All Columns button to include all columns in the query.  No filters
  60. or sorts will be added at this time.  By following these steps, the
  61. entire contents of the table will be displayed.
  62.  
  63. Click Done to proceed to the query result window.  A spreadsheet-like
  64. grid will be displayed, showing all the data contained in the SAMPLE1 
  65. database.
  66.  
  67. Building Your First Graph
  68. -------------------------
  69.  
  70. Select the Define Graph button from the query result window to define the 
  71. portions of your graph.  This dialog box allows you to identify the desired
  72. chart type, data columns to graph and the legend column.
  73.  
  74. The first combo box allows you to select any of the available graph
  75. types.  Select the Bar Chart option.
  76.  
  77. The second combo box lets you define the column to use for the chart legend.  
  78. Select the STATE_NAME column.  
  79.  
  80. Next, click the Choose Graph Data button to select the columns you wish to 
  81. graph.  A window will display all the columns that are numeric in nature
  82. and can be graphed.  Click the Add All button to highlight all of the
  83. graphable columns.  This will give us 12 months of data to graph.
  84. Click the Done button to return to the Define Graph window.
  85.  
  86. Click Done to return to the query result window.   
  87.  
  88. Selecting Rows to Graph
  89. -----------------------
  90.  
  91. To include a row in the graph, click on the row number, which will
  92. highlight that particular row.  You can select up to 12 rows to graph.
  93.  
  94. Click Create Graph to create the graph with the selected attributes. 
  95.  
  96. Manipulating Your Graph
  97. -----------------------
  98.  
  99. Now that the graph is displayed, you can modify the graph in any way.
  100.  
  101. To change the graph data that is displayed, select the View Data menu
  102. option to return to the query result window.  From there, you can
  103. modify the rows and columns that were graphed or the database query 
  104. itself.
  105.  
  106. To modify the query, click the Edit Query button.  To modify the graph
  107. attributes such as the graph legend, graph data columns or graph type,
  108. click the Define Graph button to return to the graph setup window.
  109. To modify the rows being displayed, simply select new rows or unselect
  110. currently highlighted rows by clicking on a particular row's number.
  111.  
  112. Clicking Create Graph will recreate the graph with the new data that
  113. you selected.
  114.  
  115. Modifying Graph Text and Fonts
  116. ------------------------------
  117.  
  118. To modify the titles on the graph, select Graph Titles under the Text 
  119. Labels menu.  The main graph title, the X-axis and the Y-axis titles 
  120. can be modified from this window.  After making your changes, click 
  121. Done to redraw the graph.
  122.  
  123. To modify the data (X-axis) column labels, select Data Labels under the 
  124. Text Labels menu.  You can modify any of the data column labels from 
  125. here.  Click Done to redraw the graph with the new data labels.  If you
  126. wish to change the legend texts, select Legend under the Text Labels 
  127. menu.  Change any legends you wish to, perhaps changing the full state 
  128. names to an abbreviation.
  129.  
  130. To change the font of any text displayed on the graph, select Set Font 
  131. under the Text Labels menu.  Power Graph allows you to use any font that 
  132. you have installed in Windows.
  133.  
  134. To add a date/time stamp to the lower left-hand corner of the graph, select
  135. User Options under the File menu.  Enable the date/time stamp and click Done
  136. to continue.  The current date and time will now be displayed on the graph.
  137.  
  138. Changing Chart Styles
  139. ---------------------
  140.  
  141. Each graph type has multiple styles that can be selected.  To change the 
  142. styles of the current graph type, select Bar Chart under the Chart 
  143. Options menu.  It will have a check mark next to it, indicating that it 
  144. is the chart type of the graph currently being displayed.  
  145.  
  146. This displays a window of all different bar chart styles and attributes.
  147. Modify the chart any way you like, such as making it a 3D bar chart.
  148. Click Done to redisplay the graph with your new graph styles, or click 
  149. Cancel to discard any changes.
  150.  
  151. To display the graph using other graph types, simply choose that graph
  152. type from the Chart Options menu.
  153.  
  154. Let's change our bar chart to an area chart by selecting Area Chart under 
  155. the Chart Options menu.  Select the area chart options, such as making it 
  156. a 3D area chart.  Click Done to redraw the graph in the new chart type.
  157.  
  158. Using Your Graph
  159. ----------------
  160.  
  161. Once you are satisfied with the entire graph (data, text, chart type,
  162. and style), there are 3 ways to utilize your graph: you can print the graph,
  163. save the graph to disk, or copy the graph to the Windows Clipboard.  None
  164. of these are operational in the DEMO version of Power Graph.
  165.  
  166. If you wish to print the graph, select Print Graph under the File menu.  
  167. This will allow you to print your graph to any printer set up in Windows.  
  168. You can also setup the number of copies to print, as well as portrait or 
  169. landscape printing orientation.
  170.  
  171. If you wish to save the graph for future use or viewing, select Save Graph
  172. under the File menu.  This will allow you to save the graph as a Windows
  173. bitmap file.  The saved file can be directly inserted into any Windows word
  174. processor or painting program.
  175.  
  176. If you wish to copy the graph to the Windows Clipboard, select Copy to 
  177. Clipboard under the File menu.  This will allow you to directly paste
  178. the graph into any other Windows application that supports graphics.
  179.  
  180. Your query can be saved by clicking on the Save Query As... menu option 
  181. under the File menu.
  182.  
  183. Building Statistics
  184. -------------------
  185.  
  186. Now that you are familiar with building queries and the subsequent creation
  187. of a graph from that data, let's cover the other type of query possible,
  188. statistics.
  189.  
  190. We will create a statistical query from the SAMPLE2 database, which looks
  191. like this:
  192.  
  193. Column Name                                     Description
  194. ----------------------------    ------------------------------------------
  195.  
  196. BUSINESS                        Area of business, broken down into several
  197.                 categories.
  198.  
  199. ACTIVITY                        Activity of data, broken down into Sales,
  200.                 Marketing, and Profit.
  201.  
  202. MO_JAN,MO_FEB,MO_MAR,MO_APR,
  203. MO_MAY,MO_JUN,MO_JUL,MO_AUG,    Monthly data.
  204. MO_SEP,MO_OCT,MO_NOV,MO_DEC
  205.  
  206.  
  207. Select the Create New Query menu option to query a new database.  This time 
  208. select the SAMPLE2 table for the query.  Click Generate Statistics to 
  209. continue, in order to query statistical information from the database, such 
  210. as the sum, average, minimum or maximum value for a particular column.
  211.  
  212. This brings up the Build Statistics window.  Let's generate the sum of all
  213. months grouped by their specific activity (Sales, Marketing or Profit).
  214.  
  215. Select Sum of Column as the statical operation.  Next, click the column you 
  216. wish to generate the statistic from.  Click the MO_JAN column, since it is
  217. the first column of data.  Then, since we wish to group the data according
  218. to activity, select the ACTIVITY in the Group By column list.  Click Add
  219. Statistic to add the statistic to the query.
  220.  
  221. Add the rest of the month columns by clicking the appropriate column 
  222. (MO_FEB...MO_DEC) and clicking Add Statistic to add the statistic to the 
  223. query.  You do not have to click the Group By column again, as once a
  224. Group By column is selected, it will affect all statistics generated in
  225. that query.  Once all the statistics are entered, click Done to process
  226. the statistical query.
  227.  
  228. Since we grouped our statistics by the ACTIVITY column, our result data 
  229. will consist of three rows, with each column of monthly data being 
  230. summarized by Marketing, Profit and Sales.  A variety of other statistics 
  231. can be generated, such as MAXIMUM, MINIMUM, AVERAGE, and COUNT.  The result 
  232. data can be graphed the same way as in the first example.
  233.  
  234. ==========================================================================
  235.  
  236. Power Graph is exclusively distributed by Mojahmbee Ltd. for $99.95 for 
  237. the single user version, or $249.95 for a five user network version which 
  238. allows concurrent database access. 
  239.  
  240. Site Licenses are available upon request.  Prices are listed in US currency.
  241. Customization is possible on a case-by-case basis; contact Mojahmbee Ltd.
  242. for more information.
  243.  
  244. Power Graph supports any database that has a "level 1" or higher compliant
  245. ODBC driver.  Most PC and mainframe databases have ODBC drivers available
  246. from a variety of sources.  Any application that uses these ODBC databases 
  247. can utilize Power Graph.  Contact Mojahmbee Ltd. to recieve a complete
  248. list of sources for available ODBC drivers and other available ODBC compliant
  249. applications.
  250.  
  251. Thank you for trying the demo version of Power Graph.  Please feel free
  252. to send all orders, questions or comments to:
  253.  
  254. MOJAHMBEE LTD.                          (303)440-4105  voice / fax
  255. Software Development                    Internet email:
  256. 1630 30th Street #474                      eashjm@netcom.com
  257. Boulder  CO  80301                      
  258. U.S.A.                                  
  259.                     
  260.  
  261. ----------------------------------------------------------------------------
  262.                                    Windows is a trademark of Microsoft Corp.
  263.